package edu.aynu.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (Answer)实体类
 *
 * @author sitong
 * @since 2021-06-21 22:28:03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Answer implements Serializable {
    private static final long serialVersionUID = 404951530390477050L;


    @JsonIgnore
    private Integer id;

    @JsonIgnore
    private Integer userId;

    @JsonIgnore
    private Integer examId;

    private Integer problemId;

    private String trueAnswer;

    private String userAnswer;

    private Boolean isCorrect;

    private Integer score;

}
